package com.wcpdoc.exam.api.controller.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

import java.io.Serializable;
import java.util.Objects;

/**
 * 用户信息excel
 * @author 王晶
 * @date 2024/4/22 20:16
*/
public class MockUserEntity implements Serializable {
    @ExcelProperty("排名")
    @ColumnWidth(30)
    private String myExamNo;

    @ExcelProperty("姓名")
    @ColumnWidth(30)
    private String userName;

    /*2024年1月3日 增加导出用户信息*/
    @ExcelProperty("性别")
    @ColumnWidth(30)
    private String sex;

    @ExcelProperty("身份证")
    @ColumnWidth(30)
    private String loginName;

    @ExcelProperty("标签")
    @ColumnWidth(30)
    private String labelName;

    /*end 增加导出用户信息*/
    @ExcelProperty("机构")
    @ColumnWidth(30)
    private String orgName;

    @ExcelProperty("分数")
    @ColumnWidth(30)
    private String myExamTotalScore;

    @ExcelProperty("考试状态")
    @ColumnWidth(30)
    private String myExamState;

    @ExcelProperty("答题开始时间")
    @ColumnWidth(30)
    private String myMockExamStartTime;

    @ExcelProperty("答题结束时间")
    @ColumnWidth(30)
    private String myMockExamEndTime;

    public MockUserEntity() {
    }

    public MockUserEntity(String myExamNo, String userName, String sex, String loginName, String labelName, String orgName, String myExamTotalScore, String myExamState, String myExamStartTime, String myExamEndTime) {
        this.myExamNo = myExamNo;
        this.userName = userName;
        this.sex = sex;
        this.loginName = loginName;
        this.labelName = labelName;
        this.orgName = orgName;
        this.myExamTotalScore = myExamTotalScore;
        this.myExamState = myExamState;
        this.myMockExamEndTime = myExamEndTime;
        this.myMockExamStartTime = myExamStartTime;
    }


    @Override
    public String toString() {
        return "MockUserEntity{" +
                "myExamNo='" + myExamNo + '\'' +
                ", userName='" + userName + '\'' +
                ", sex='" + sex + '\'' +
                ", loginName='" + loginName + '\'' +
                ", labelName='" + labelName + '\'' +
                ", orgName='" + orgName + '\'' +
                ", myExamTotalScore='" + myExamTotalScore + '\'' +
                ", myExamState='" + myExamState + '\'' +
                ", myExamStartTime='" + myMockExamStartTime + '\'' +
                ", myExamEndTime='" + myMockExamEndTime + '\'' +
                '}';
    }


    public String getMyExamNo() {
        return myExamNo;
    }

    public void setMyExamNo(String myExamNo) {
        this.myExamNo = myExamNo;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLabelName() {
        return labelName;
    }

    public void setLabelName(String labelName) {
        this.labelName = labelName;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getMyExamTotalScore() {
        return myExamTotalScore;
    }

    public void setMyExamTotalScore(String myExamTotalScore) {
        this.myExamTotalScore = myExamTotalScore;
    }

    public String getMyExamState() {
        return myExamState;
    }

    public void setMyExamState(String myExamState) {
        this.myExamState = myExamState;
    }

    public String getMyMockExamStartTime() {
        return myMockExamStartTime;
    }

    public void setMyMockExamStartTime(String myMockExamStartTime) {
        this.myMockExamStartTime = myMockExamStartTime;
    }

    public String getMyMockExamEndTime() {
        return myMockExamEndTime;
    }

    public void setMyMockExamEndTime(String myMockExamEndTime) {
        this.myMockExamEndTime = myMockExamEndTime;
    }
}
